<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>博客后台</title>
    <link rel="stylesheet" href="__PUBLIC__/Css/style.css" media="all">
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <script>
        $(document).ready(function(){
            $('nav ul li').click(function(){
                $('.submenu').hide();
                $('nav ul li').attr('class','');
                $(this).attr('class','section');
                $(('.section .submenu')).show();
            });
        });
    </script>
</head>
<body>
    <div class="testing">
        <header class="main">
            <h1><strong>Blog</strong>管理系统</h1>
            <input type="text" value="search">
        </header>
        <section class="user">
            <div class="profile-img">
                <p><img src="__PUBLIC__/Img/Myface.jpeg" alt="" height="40" width="40"> 欢迎回来,admin</p>
            </div>
            <div class="buttons">
                <button class="ico-font">⏶</button>
                <span class="button blue"><a href="{:U(GROUP_NAME.'/Login/logout')}">Logout</a></span>
            </div>
        </section>
    </div>
    <nav style="height: 565px;">
        <ul>
            <li class="section">
                <a  class="dashboard" title="Dashboard" target="iframe"><span class="icon">📄</span>博文管理</a>
                <ul class="submenu" style="display: block;">
                        <li><a href="{:U(GROUP_NAME.'/Blog/index')}"  target="iframe">博文列表</a></li>
                        <li><a href="{:U(GROUP_NAME.'/Blog/blog')}" target="iframe">发布博文</a></li>
                        <li class="last"><a href="{:U(GROUP_NAME.'/Blog/index',array('type'=>1))}" target="iframe">回收站</a></li>
                </ul>  
            </li>
            <li>
                <a  class="pages" title="Pages"  target="iframe"><span class="icon">🛇</span>属性管理</a>
                <ul class="submenu" style="display: none;">
                    <li><a href="{:U(GROUP_NAME.'/Attr/index')}"  target="iframe">属性列表</a></li>
                    <li class="last"><a href="{:U(GROUP_NAME.'/Attr/attr')}" target="iframe">添加属性</a></li>
                </ul>   
            </li>
            <li>
                <a  class="media" title="Media" target="iframe"><span class="icon">🌄</span>分类管理</a>
                <ul class="submenu">
                    <li><a href="{:U(GROUP_NAME.'/Category/index')}"  target="iframe">分类列表</a></li>
                    <li class="last"><a href="{:U(GROUP_NAME.'/Category/cate')}" target="iframe">添加分类</a></li>
                </ul>
            </li>
            <li>
                <a   target="iframe"><span class="icon"></span> 评论管理</a>
                <ul class="submenu">
                    <li><a  href="http://selfshow.duoshuo.com/admin/" target="iframe">所有评论</a></li>
                    <li class="last"><a href="http://selfshow.duoshuo.com/admin/deleted/" target="iframe">已删除的</a></li>
                </ul>
            </li>
            <li><a  href="{:U(GROUP_NAME.'/Home/index')}" target="iframe"><span class="icon">📊</span> 主页设置</a>
                <ul class="submenu">
                    <li><a href="{:U(GROUP_NAME.'/Home/bgimg')}" target="iframe">背景图管理</a></li>
                    <li class="last"><a href="{:U(GROUP_NAME.'/Home/artimg')}" target="iframe">首页图管理</a></li>
                </ul>
            </li>
            <li><a href="{:U(GROUP_NAME.'/User/index')}" target="iframe"><span class="icon">👥</span>用户信息</a></li>
            <li>
                <a href="ui-elements.html" target="iframe"><span class="icon">⚙</span>系统设置</a>
                <ul class="submenu">
                    <li class="last"><a href="icon-fonts.html" target="iframe">Icon fonts</a></li>
                </ul>
            </li>
        </ul>
    </nav>
    <section class="content" style="margin-top: 0px;">
    <script type="text/javascript" language="javascript">
    function iFrameHeight() {
        var ifm= document.getElementById("iframepage");
        var subWeb = document.frames ? document.frames["iframepage"].document :ifm.contentDocument;
            if(ifm != null && subWeb != null) {
            ifm.height = subWeb.body.scrollHeight;
            }
    }
</script> 
           <iframe src="{:U(GROUP_NAME.'/Blog/index')}" name="iframe"  ></iframe>
    </section>
</body>
</html>